<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){}%>
    <link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
    <link href="/module/bootstrap-table/bootstrap-table.css" rel="stylesheet"/>
    <link rel="stylesheet" type="text/css" href="/module/jeDate/jedate.css"/>
    <style type="text/css">
        .table > tbody > tr > td {
            vertical-align: middle;
        }
    </style>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 4px 0px 0px 0px">
    <div class="main-container container-fluid">
        <div class="page-container">
            <div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px">
                <div class="tabbable">
                    <ul class="nav nav-tabs tabs-flat" id="myTab11" style="background-image: url('/gobal/img/tb_header.png'); background-size: 34px 60px;">
                        <li class="active"><a href="/app/core/partymember/train" aria-expanded="true">党内培训管理</a></li>
                        <li class=""><a href="/app/core/partymember/train?view=create" aria-expanded="false">党内培训录入 </a></li>
                    </ul>
                    <div class="tab-content tabs-flat" style="padding: 0px;">
                        <div class="row">
                            <div class="col-md-12 col-sm-12 col-xs-12" id="trainlistdiv">
                                <div class="btn-group" id="toobar">
                                    <span style="margin-left: 10px;">培训班类别:</span> <span>
											<select id="classTypeQuery" name="classTypeQuery" class="form-control" style="display: inline-block;width: 150px;">
												<option value="">全部</option>
												<option value="1">进修班</option>
													<option value="2">培训班</option>
													<option value="3">理论班</option>
													<option value="4">专题研讨（研究）班</option>
													<option value="5">其他</option>
											</select>
										</span>
                                    <span style="margin-left: 10px;">培训类别:</span> <span>
											<select id="trainTypeQuery" name="trainTypeQuery" class="form-control" style="display: inline-block;width: 150px;">
												<option value="">全部</option>
												<option value="1">初任培训（新录用人员培训）</option>
													<option value="2">任职培训（晋升培训）</option>
													<option value="3">专门业务培训</option>
													<option value="4">专门技术培训</option>
													<option value="5">其他培训</option>
											</select>
										</span>
                                    <span style="margin-left: 10px;">培训时间:</span>
                                    <span>
											<input readonly="readonly" placeholder="开始日期" style="width: 150px; display: inline-block;" id="beginTimeQuery" class="form-control">
										</span> <span style="margin-left: 10px;margin-right: 10px;">-</span>
                                    <span>
											<input readonly="readonly" placeholder="结束日期" style="width: 150px; display: inline-block;" id="endTimeQuery" class="form-control">
										</span>
                                    <span style="margin-left: 20px"> <a href="javascript:void(0);" class="btn btn-magenta js-simple-query">${i18n('system.search')}</a>
										</span>
                                </div>
                                <table id="myTable"></table>
                            </div>
                            <div class="col-md-12 col-sm-12 col-xs-12" id="traindiv" style="display: none;">
                                <div class="row">
                                    <div class="col-md-offset-2 col-md-8 col-sm-12 col-xs-12" style="padding: 0px">
                                        <form class="form-horizontal">
                                            <table class="table table-hover table-striped table-bordered">
                                                <tr>
                                                    <td width="20%">${i18n('system.sortNo')}：</td>
                                                    <td width="30%"><input placeholder="${i18n('system.sortNo')}" type="number" name="sortNo" id="sortNo" class="form-control" maxlength="10"></td>
                                                    <td width="20%">受训党员：</td>
                                                    <td width="30%"><input placeholder="受训党员" type="text" name="partyMember" id="partyMember" class="form-control" readonly="readonly" opt-id="partyMember" onclick="selectPartyMember(this,'false');"></td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">培训起始日期：</td>
                                                    <td width="30%"><input placeholder="培训起始日期" type="text" name="beginTime" id="beginTime" class="form-control" maxlength="20" readonly="readonly"></td>
                                                    <td width="20%">培训结束日期：</td>
                                                    <td width="30%"><input placeholder="培训结束日期" type="text" name="endTime" id="endTime" class="form-control" maxlength="20" readonly="readonly"></td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">培训类别：</td>
                                                    <td width="30%">
                                                        <select name="trainType" id="trainType" class="form-control">
                                                            <option value="1">初任培训（新录用人员培训）</option>
                                                            <option value="2">任职培训（晋升培训）</option>
                                                            <option value="3">专门业务培训</option>
                                                            <option value="4">专门技术培训</option>
                                                            <option value="5">其他培训</option>
                                                        </select>
                                                    </td>
                                                    <td width="20%">培训离岗状态：</td>
                                                    <td width="30%">
                                                        <select name="jobStatus" id="jobStatus" class="form-control">
                                                            <option value="1">全脱产（离岗）</option>
                                                            <option value="2">半脱产（半离岗）</option>
                                                            <option value="3">不脱产（不离岗）</option>
                                                        </select>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">培训主办单位名称：</td>
                                                    <td width="30%"><input placeholder="培训主办单位名称" type="text" name="organizer" id="organizer" class="form-control" maxlength="100"></td>
                                                    <td width="20%">培训主办单位名称补充：</td>
                                                    <td width="30%"><input placeholder="培训主办单位名称补充" type="text" name="organizerOther" id="organizerOther" class="form-control" maxlength="100"></td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">培训主办单位级别：</td>
                                                    <td width="30%"><select name="organizerLevel" id="organizerLevel" class="form-control"></select></td>
                                                    <td width="20%">从学单位类别：</td>
                                                    <td width="30%"><input placeholder="从学单位类别" type="text" name="stunitType" id="stunitType" class="form-control" maxlength="50" readonly="readonly">
                                                        <div id="stunitTypeContent" class="menuContent">
                                                            <ul id="stunitTypeTree" class="ztree"></ul>
                                                        </div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">从学单位名称：</td>
                                                    <td width="30%"><input placeholder="从学单位名称" type="text" name="partyOrgName" id="partyOrgName" class="form-control" maxlength="100"></td>
                                                    <td width="20%">从学单位名称补充：</td>
                                                    <td width="30%"><input placeholder="从学单位名称补充" type="text" name="partyOrgNameOther" id="partyOrgNameOther" class="form-control" maxlength="100"></td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">培训班类别：</td>
                                                    <td width="30%">
                                                        <select name="classType" id="classType" class="form-control">
                                                            <option value="1">进修班</option>
                                                            <option value="2">培训班</option>
                                                            <option value="3">理论班</option>
                                                            <option value="4">专题研讨（研究）班</option>
                                                            <option value="5">其他</option>
                                                        </select>
                                                    </td>
                                                    <td width="20%">培训班名称：</td>
                                                    <td width="30%"><input placeholder="培训班名称" type="text" name="className" id="className" class="form-control" maxlength="100"></td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">培训人员数：</td>
                                                    <td width="30%"><input placeholder="培训人员数" type="number" name="userCount" id="userCount" class="form-control" maxlength="5"></td>
                                                    <td width="20%">培训专业名称：</td>
                                                    <td width="30%"><input placeholder="培训专业名称" type="text" name="major" id="major" class="form-control" maxlength="100"></td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">出国（出境）培训：</td>
                                                    <td width="30%">
                                                        <div class="checkbox">
                                                            <label style="padding-left: 0px;">
                                                                <input type="checkbox" class="colored-danger" name="isAbroad" id="isAbroad" value="1">
                                                                <span class="text">是</span>
                                                            </label>
                                                        </div>
                                                    </td>
                                                    <td width="20%">从学单位所在国别（地区）：</td>
                                                    <td width="30%"><input placeholder="从学单位所在国别（地区）" type="text" name="address" id="address" class="form-control" maxlength="100"></td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">培训完成情况：</td>
                                                    <td width="30%">
                                                        <select name="trainStatus" id="trainStatus" class="form-control">
                                                            <option value="1">毕业</option>
                                                            <option value="2">肄业</option>
                                                            <option value="3">结业</option>
                                                            <option value="4">在训</option>
                                                            <option value="5">未完成</option>
                                                            <option value="6">转学校</option>
                                                            <option value="7">转系</option>
                                                            <option value="8">转专业</option>
                                                            <option value="9">其他</option>
                                                        </select>
                                                    </td>
                                                    <td width="20%">培训学时：</td>
                                                    <td width="30%"><input placeholder="培训学时" type="number" name="period" id="period" class="form-control" maxlength="5"></td>
                                                </tr>
                                                <tr>
                                                    <td colspan="4">培训内容</td>
                                                </tr>
                                                <tr>
                                                    <td colspan="4">
                                                        <div id="trainContent" name="trainContent"></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="4">培训情况说明</td>
                                                </tr>
                                                <tr>
                                                    <td colspan="4">
                                                        <div id="remark" name="remark"></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">相关附件：</td>
                                                    <td width="80%" colspan="3">
                                                        <div id="show_attach"></div>
                                                        <a class="addfile" href="javascript:void(0)">${i18n('fileupload')} <input data_value="" type="file" onchange="fileUpLoad('party','attach');" hidefocus="true"
                                                                                                                                  maxlength="1" id="attach" name="attach" class="addfile" multiple="multiple"></a> <a class="addfile" style="width: 200px;" href="#" op_id="attach"
                                                                                                                                                                                                                      onclick="selectattach(this,'true')">${i18n('system.netFileSelect')}</a>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="4" align="center">
                                                        <a id="createbut" href="javascript:void(0);" class="btn btn-primary js-update-save">更&nbsp;&nbsp;新</a>
                                                        <a href="javascript:void(0);" class="btn btn-purple js-back-btn" style="margin-left: 20px;">返&nbsp;&nbsp;回</a>
                                                    </td>
                                                </tr>
                                            </table>
                                        </form>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="orgselectdiv"></div>
<div id="attachselect"></div>
</body>
<%include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript" src="/module/fileupload/pageoffice.js" id="po_js_main"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table-${localeLangCountry()}.js"></script>
<script type="text/javascript" src="/module/jeDate/jeDate.js"></script>
<script type="text/javascript" src="/assets/js/editors/summernote/summernote.js"></script>
<script type="text/javascript" src="/module/fileupload/ajaxfileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/fileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/attachselect.js"></script>
<script type="text/javascript" src="/module/govselect/govselect.js"></script>
<script type="text/javascript" src="/gobal/js/page/partymember/trainmanage.js"></script>
</body>
</html>
